import { TableRowSelection } from "@arco-design/web-vue";

export const tablePagination = () => {
  return {
    current: 1,
    pageSize: 20,
    total: 0,
    showTotal: true,
    showPageSize: true,
    "hide-on-single-page": false,
    "page-size-options": [10, 20, 30, 50],
  };
};
export const tableRowSelection = (): TableRowSelection => {
  return {
    type: "checkbox",
    showCheckedAll: true,
    onlyCurrent: false,
  };
};
